using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ScoreDisplay : MonoBehaviour
{
    private Text text;

    void Start()
    {
        text = GetComponent<Text>();
    }

    void Update()
    {
        text.text = "SCORE:" + ScoreManager.instance.Score + "\n DISTANCE:" + (int)(GameManager.instance.Distance);
    }
}
